import java.util.*;
import java.util.Map;
import java.util.HashMap;
import java.util.Scanner;

public class Solution {
    public int maxProfit(int[] prices) {
        for(int i = 0; i < prices; i++)
        return 0;
    }

public static void main(String[] args) {
    if (args.length >= 1) {
        String input = args[0].trim();
        if (input.startsWith("[") && input.endsWith("]")) {
            input = input.substring(1, input.length() - 1);
        }
        
        String[] numStrs = input.split(",");
        int[] prices = new int[numStrs.length];
        for (int i = 0; i < numStrs.length; i++) {
            prices[i] = Integer.parseInt(numStrs[i].trim());
        }
        
        Solution solution = new Solution();
        int result = solution.maxProfit(prices);
        System.out.println(result);
    }
}
}